package com.dflc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dflc.entity.po.UUnit;
import com.dflc.entity.req.UnitPageReq;
import com.dflc.entity.vo.UUnitVo2;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
* @author 86158
* @description 针对表【u_unit(单位/责任部门)】的数据库操作Mapper
* @createDate 2025-02-21 11:07:36
* @Entity com.dflc.entity.dto.UUnit
*/
@Mapper
public interface UUnitMapper extends BaseMapper<UUnit> {
    Page<UUnit> pageQuery(UnitPageReq req);

    List<UUnit> findAllByMap(Map<String, Object> params);
    List<UUnitVo2> findAllByMap2(Map<String, Object> params);
    List<UUnitVo2> findAllByMap3(Map<String, String> params);
    Page<UUnitVo2> findAllByMap3AndPage(UnitPageReq req);
    Page<UUnitVo2> findAllByMap2AndPage(UnitPageReq req);
}




